//package com.plian.system.service.hr.employment.impl;
//
//import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
//import com.plian.Tools.CollectionUtil;
//import com.plian.system.entity.hr.employment.AdmissionResultRecordInfoEntity;
//import com.plian.system.mapper.hr.employment.AdmissionResultRecordInfoMapper;
//import com.plian.system.mybatis.base.BaseServiceImpl;
//import com.plian.system.service.hr.employment.IAdmissionResultRecordInfoService;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//import java.util.stream.Collectors;
//
///**
// * 录取结果备案-录取信息 服务实现类
// *
// * @author gangan
// * @since 2023-05-23
// */
//@Service
//public class AdmissionResultRecordInfoServiceImpl extends BaseServiceImpl<AdmissionResultRecordInfoMapper, AdmissionResultRecordInfoEntity> implements IAdmissionResultRecordInfoService {
//
//
//    @Override
//    public Boolean deleteLogicByParentId(List<Long> ids) {
//        LambdaQueryWrapper<AdmissionResultRecordInfoEntity> queryWrapper = new LambdaQueryWrapper<>();
//        queryWrapper.in(AdmissionResultRecordInfoEntity::getBaseResultRecordId, ids);
//        List<AdmissionResultRecordInfoEntity> appointRemoves = list(queryWrapper);
//        if (CollectionUtil.isNotEmpty(appointRemoves)){
//            return deleteLogic(appointRemoves.stream().map(AdmissionResultRecordInfoEntity::getId).collect(Collectors.toList()));
//        }
//        return true;
//    }
//}
